package com.yyplatform.admin.platform.role.model.entity;

import com.yyplatform.admin.infra.model.entity.BaseEntity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

/**
 * Created on 2024-09-13
 */
@Entity
@Getter
@Setter
@Table(name = "sys_user_role")
public class SysUserRoleEntity extends BaseEntity {

    @Column(name = "role_id", nullable = false, columnDefinition = "bigint(20) comment '角色ID' ")
    private Long roleId;

    @Column(name = "user_id", nullable = false, columnDefinition = "bigint(20) comment '用户ID' ")
    private Long userId;


}
